﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuanNianBXXCX.aspx.cs" Inherits="Web.Pages.QuShui.DiXiaS.ChaXunGL.QuanNianBXXCX" Theme="Default"%>
<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../../../JS/jquery.js" type="text/javascript"></script>
    <script src="../../../../JS/AddEditCancel.js" type="text/javascript"></script>
    <link href="../../../../css/inputBgColor.css" rel="stylesheet" />
    <style type="text/css">
        body, html {
            padding: 0;
            margin: 0;
            font-size:12px;
        }

        #img table tr td div {
            cursor: pointer;
        }


    </style>
    <script type="text/javascript">
        $(function () {
            var height = Math.max(0, document.documentElement.clientHeight) - 90;
            // $("#condition").css("height", height);
        });
        function rowClick() {
            if (gvShuiBiaoXX.GetFocusedRowIndex() != -1) {
                //alert(gvShuiBiaoXX.GetRowKey(gvShuiBiaoXX.GetFocusedRowIndex()));
                if (gvShuiBiaoXX.GetFocusedRowIndex() != -1) {
                    hdCollection.Set("ID", gvShuiBiaoXX.GetRowKey(gvShuiBiaoXX.GetFocusedRowIndex()));
                    //loadpanel1.Show();
                    ASPxCallback1.PerformCallback("setinfo");
                }
            }
        } 
        function rowClick2() {
            if (gvGridTab2.GetFocusedRowIndex() != -1) {
                if (gvGridTab2.GetFocusedRowIndex() != -1) {
                    hdCollection.Set("SBH", gvGridTab2.GetRowKey(gvGridTab2.GetFocusedRowIndex()));
                    gvGrid2Tab2.PerformCallback();
                }
            }
        }

        function ASPxCallback1Complete(rs) {
            var arr = rs.split('|');
            var type = arr[0];
            var state = arr[1];
            if (type == "setinfo") {
                txtYongHuH2.SetText(arr[2]);
                txtYongHuM2.SetText(arr[3]);
                txtHuanNeiHW.SetText(arr[4]);
                txJingBianH.SetText(arr[5]);
                txtDiZhi.SetText(arr[6]);
                txtXingZhengQ.SetText(arr[7]);
                txShuiJia.SetText(arr[8]);
                txtQuShuiDZ2.SetText(arr[9]);
                txtShuiBiaoBH2.SetText(arr[10]);
                txtShuiLiangLB.SetText(arr[11]);
                txtCeHao.SetText(arr[12]);
                txtBiaoBiaoJ.SetText(arr[13]);
                txtBiaoFenL.SetText(arr[14]);
                txtZongBiaoH.SetText(arr[15]);
                memoBeiZhu.SetText(arr[16]);
            }
        }

        function XSorYC() {
            $("#divInfo").toggle();
            if ($("#divInfo").css('display') == 'none') {
                AdjustSize(170, gvShuiBiaoXX);
            }
            else {
                AdjustSize(400, gvShuiBiaoXX);
            }
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            全年表信息查询
        </div>
        <div style="display: none;">
            <dx:ASPxHiddenField ID="hdCollection" ClientInstanceName="hdCollection" runat="server"></dx:ASPxHiddenField>
            <dx:ASPxCallback ID="ASPxCallback1" ClientInstanceName="ASPxCallback1" runat="server" OnCallback="ASPxCallback1_Callback" ClientSideEvents-CallbackComplete="function(s,e){ASPxCallback1Complete(e.result);}"></dx:ASPxCallback>
        </div>
        <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
                <div style="float: left; width: 15%;" id="condition">
                    <fieldset style="border: 1px solid #d0e4fe">
                        <legend>查询条件</legend>
                        <div>
                            <table style="height: 270px; width: 100%;">
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkYongHuH" Checked="false" Text="用户号" ClientInstanceName="chkYongHuH"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxTextBox runat="server" ID="txtYongHuH" Width="80%">
                                            <ClientSideEvents GotFocus="function(s,e){chkYongHuH.SetChecked(true);}" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="rabJingBianH" Text="" ClientInstanceName="rabJingBianH"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxTextBox runat="server" ID="txtJingBianH" Width="100%">
                                            <ClientSideEvents GotFocus="function(s,e){rabJingBianH.SetChecked(true);}" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="rabShuiBiaoBH" Text="水表编号" ClientInstanceName="rabShuiBiaoBH"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxTextBox runat="server" ID="txtShuiBiaoBH" Width="100%">
                                            <ClientSideEvents GotFocus="function(s,e){rabShuiBiaoBH.SetChecked(true);}" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkYongHuM" Text="用户名" ClientInstanceName="chkYongHuM"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxTextBox runat="server" ID="txtYongHuM" Width="100%">
                                            <ClientSideEvents GotFocus="function(s,e){chkYongHuM.SetChecked(true);}" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkYongHuDZ" Text="许可证号" ClientInstanceName="chkYongHuDZ"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxTextBox runat="server" ID="txtYongHuDZ" Width="100%">
                                            <ClientSideEvents GotFocus="function(s,e){chkYongHuDZ.SetChecked(true);}" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="rabQuShuiDZ" Text="取水地址" ClientInstanceName="rabQuShuiDZ"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxTextBox runat="server" ID="txtQuShuiDZ" Width="100%">
                                            <ClientSideEvents GotFocus="function(s,e){rabQuShuiDZ.SetChecked(true);}" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkQuShuiYT" Text="取水用途" ClientInstanceName="chkQuShuiYT"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel runat="server" ID="Panel25">
                                            <dx:ASPxComboBox runat="server" ID="cmbQuShuiYT" Width="100%">
                                                <ClientSideEvents GotFocus="function(s,e){chkQuShuiYT.SetChecked(true);}" />
                                            </dx:ASPxComboBox>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkHangYeFL" Text="行业分类" ClientInstanceName="chkHangYeFL"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel runat="server" ID="Panel26">
                                            <dx:ASPxComboBox runat="server" ID="cmbHangYeFL" Width="100%">
                                                <ClientSideEvents GotFocus="function(s,e){chkHangYeFL.SetChecked(true);}" />
                                            </dx:ASPxComboBox>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkLiuYu" Text="流域" ClientInstanceName="chkLiuYu"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel runat="server" ID="Panel27">
                                            <dx:ASPxComboBox runat="server" ID="cmbLiuYu" Width="100%">
                                                <ClientSideEvents GotFocus="function(s,e){chkLiuYu.SetChecked(true);}" />
                                            </dx:ASPxComboBox>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkShuiZiYFQ" Text="水资源分区" ClientInstanceName="chkShuiZiYFQ"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel runat="server" ID="Panel28">
                                            <dx:ASPxComboBox runat="server" ID="cmbShuiZiYFQ" Width="100%">
                                                <ClientSideEvents GotFocus="function(s,e){chkShuiZiYFQ.SetChecked(true);}" />
                                            </dx:ASPxComboBox>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkShuiLiFP" Text="水利分片" ClientInstanceName="chkShuiLiFP"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel runat="server" ID="Panel29">
                                            <dx:ASPxComboBox runat="server" ID="cmbShuiLiFP" Width="100%">
                                                <ClientSideEvents GotFocus="function(s,e){chkShuiLiFP.SetChecked(true);}" />
                                            </dx:ASPxComboBox>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkShuiLiangLB" Text="水量类别" ClientInstanceName="chkShuiLiangLB"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Panel runat="server" ID="Panel30">
                                            <dx:ASPxComboBox runat="server" ID="cmbShuiLiangLB" Width="100%">
                                                <ClientSideEvents GotFocus="function(s,e){chkShuiLiangLB.SetChecked(true);}" />
                                            </dx:ASPxComboBox>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkCeHao" Text="册号" ClientInstanceName="chkCeHao"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxTextBox runat="server" ID="txtCeHao2" Width="100%">
                                            <ClientSideEvents GotFocus="function(s,e){chkCeHao.SetChecked(true);}" />
                                        </dx:ASPxTextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkShuiJia" Text="水价" ClientInstanceName="chkShuiJia"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <table>
                                        <tr>
                                            <td style="width: 30%">
                                                <dx:ASPxComboBox ID="cmbShuiJia" ClientInstanceName="cmbShuiJia" runat="server" Width="100%">
                                                    <Items>
                                                        <dx:ListEditItem Text="" Value="0" />
                                                        <dx:ListEditItem Text="=" Value="1" />
                                                        <dx:ListEditItem Text=">" Value="2" />
                                                        <dx:ListEditItem Text=">=" Value="3" />
                                                        <dx:ListEditItem Text="<" Value="4" />
                                                        <dx:ListEditItem Text="<=" Value="5" />
                                                        <dx:ListEditItem Text="<>" Value="6" />
                                                    </Items>
                                                    <ClientSideEvents GotFocus="function(s,e){chkShuiJia.SetChecked(true);}" />
                                                </dx:ASPxComboBox>
                                            </td>
                                            <td style="width: 70%">
                                                <dx:ASPxTextBox ID="txtShuiJia" ClientInstanceName="txtShuiJia2" runat="server" Width="100%">
                                                    <ClientSideEvents GotFocus="function(s,e){chkShuiJia.SetChecked(true);}" KeyUp="function(s,e){inputFloat(s);}"/>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </tr>
                                <tr>
                                    <td>
                                        <dx:ASPxCheckBox runat="server" ID="chkShenJingSF" Text="深井水费" ClientInstanceName="chkShenJingSF"></dx:ASPxCheckBox>
                                    </td>
                                </tr>
                                <tr>
                                    <table>
                                        <tr>
                                            <td style="width: 30%">
                                                <dx:ASPxComboBox ID="cmbShenJingSF" ClientInstanceName="cmbShenJingSF" runat="server" Width="100%">
                                                    <Items>
                                                        <dx:ListEditItem Text="" Value="0" />
                                                        <dx:ListEditItem Text="=" Value="1" />
                                                        <dx:ListEditItem Text=">" Value="2" />
                                                        <dx:ListEditItem Text=">=" Value="3" />
                                                        <dx:ListEditItem Text="<" Value="4" />
                                                        <dx:ListEditItem Text="<=" Value="5" />
                                                        <dx:ListEditItem Text="<>" Value="6" />
                                                    </Items>
                                                    <ClientSideEvents GotFocus="function(s,e){chkShenJingSF.SetChecked(true);}" />
                                                </dx:ASPxComboBox>
                                            </td>
                                            <td style="width: 70%">
                                                <dx:ASPxTextBox ID="txtShenJingSF" ClientInstanceName="txtShenJingSF" runat="server" Width="100%">
                                                    <ClientSideEvents GotFocus="function(s,e){chkShenJingSF.SetChecked(true);}"  KeyUp="function(s,e){inputFloat(s);}"/>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                    </table>
                                </tr>
                            </table>
                        </div>
                    </fieldset>
                </div>
                <div style="float: right; width: 84%;">
                    <dx:ASPxPageControl ID="ASPxPageControl1" ClientInstanceName="ASPxPageControl1" runat="server" ActiveTabIndex="0" Width="98%" AutoPostBack="false">
                        <TabPages>
                            <dx:TabPage Text="水表信息">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <div style="border: 1px solid #d0e4fe">
                                                <table>
                                                    <tr>
                                                        <td style="width: 8%;text-align:right;"><span style="font-size: 12px;">水量年月：</span></td>
                                                        <td style="width: 15%;">
                                                            <table>
                                                                <tr>
                                                                    <td>
                                                                        <asp:Panel runat="server" ID="Panel11">
                                                                            <dx:ASPxComboBox runat="server" ID="cmbSLY" Width="100%" AutoPostBack="false">
                                                                            </dx:ASPxComboBox>
                                                                        </asp:Panel>
                                                                    </td>
                                                                    <td>
                                                                        <asp:Panel runat="server" ID="Panel12">
                                                                            <dx:ASPxComboBox runat="server" ID="cmbSLM" Width="90%" AutoPostBack="false">
                                                                            </dx:ASPxComboBox>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <%--<dx:ASPxTextBox runat="server" ID="txtShuiLiangYM" Width="90%" ClientInstanceName="txtShuiLiangYM" MaxLength="6">
                                                                <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                                            </dx:ASPxTextBox>--%>
                                                        </td>
                                                        <td style="width: 8%;text-align:right;"><span style="font-size: 12px;">环内环外：</span></td>
                                                        <td>
                                                            <asp:Panel runat="server" ID="Panel1">
                                                                <dx:ASPxComboBox runat="server" ID="cmbHuanNeiHW" Width="90%" AutoPostBack="false">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="0" />
                                                                        <dx:ListEditItem Text="外环线内" Value="1" />
                                                                        <dx:ListEditItem Text="外环线外" Value="2" />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 6%;text-align:right;"><span style="font-size: 12px;">行政区：</span></td>
                                                        <td>
                                                            <asp:Panel runat="server" ID="Panel2">
                                                                <dx:ASPxComboBox runat="server" ID="cmbXingZhengQ" Width="90%">
                                                                    <Items>
                                                                        <dx:ListEditItem Text="" Value="0" Selected="true" />
                                                                    </Items>
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 8%;text-align:right;"><span style="font-size: 12px;">主管部门：</span></td>
                                                        <td>
                                                            <asp:Panel runat="server" ID="Panel3">
                                                                <dx:ASPxComboBox runat="server" ID="cmbZGBM" Width="90%">
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td>&nbsp;&nbsp;</td>
                                                        <td>
                                    <dx:ASPxLoadingPanel runat="server" ID="LoadPanel11" ClientInstanceName="LoadPanel" Text="正在查询"></dx:ASPxLoadingPanel>
                                                            <dx:ASPxButton runat="server" ID="btnChaXun" Text="查询" OnClick="btnChaXun_Click">
                                                                <ClientSideEvents Click="function(s,e){LoadPanel.Show();}" />
                                                            </dx:ASPxButton>
                                                        </td>
                                                        <td>
                                                            <dx:ASPxButton ID="btnExport2" runat="server" Text="导出EXCEL" UseSubmitBehavior="false">
                                                                <ClientSideEvents Click="function(s,e){btnExport.OnClick();}" />
                                                            </dx:ASPxButton>
                                                        </td>
                                                    </tr>
                                                    <tr id="dxs" runat="server">
                                                        <td style="width: 6%;text-align:right;"><span style="font-size: 12px;">井类型：</span></td>
                                                        <td>
                                                            <asp:Panel runat="server" ID="Panel20">
                                                                <dx:ASPxComboBox runat="server" ID="cmbJinglx" Width="90%">
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 6%;text-align:right;"><span style="font-size: 12px;">井性质：</span></td>
                                                        <td>
                                                            <asp:Panel runat="server" ID="Panel21">
                                                                <dx:ASPxComboBox runat="server" ID="cmbJingXZ" Width="90%">
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        <td style="width: 6%;text-align:right;"><span style="font-size: 12px;">井标记：</span></td>
                                                        <td>
                                                            <asp:Panel runat="server" ID="Panel22">
                                                                <dx:ASPxComboBox runat="server" ID="cmbJingBJ" Width="90%">
                                                                </dx:ASPxComboBox>
                                                            </asp:Panel>
                                                        </td>
                                                        
                                                    </tr>
                                                    <tr>
                                                         <td>
                                                            <dx:ASPxLabel ID="zjl" Text="共0条" runat="server" ForeColor="Blue"></dx:ASPxLabel>
                                                        </td> 
                                                    </tr>
                                                </table>
                                            </div>

                                            <dx:ASPxGridView ID="gvShuiBiaoXX" ClientInstanceName="gvShuiBiaoXX" runat="server" AutoGenerateColumns="False" KeyFieldName="ID"
                                                ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" EnableCallBacks="true" SettingsBehavior-AllowSort="true">
                                                <Columns>
                                                    
                                                </Columns>
                                                <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto"  />
                                                <SettingsPager Mode="EndlessPaging" PageSize="100" />
                                                <Settings ShowFooter="True" />
                                                <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                <ClientSideEvents FocusedRowChanged="function(s,e){rowClick();}" />
                                                <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                                <ClientSideEvents Init="function(s,e){AdjustSize(450,gvShuiBiaoXX);}" />
                                            </dx:ASPxGridView>
                                            <hr />
                                            <div>
                                                <input type="button" id="yc" value="隐藏或显示详情" name="btnTest" onclick="XSorYC()" />
                                            </div>
                                            <div id="divInfo">
                                                <table style="text-align: right; width: 100%;">
                                                    <tr>
                                                        <td style="width: 10%;"><span style="font-size: 12px;">用户号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuH2" ClientEnabled="false" Width="80%" ClientInstanceName="txtYongHuH2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 10%;"><span style="font-size: 12px;">用户名：</span></td>
                                                        <td colspan="3">
                                                            <dx:ASPxTextBox runat="server" ID="txtYongHuM2" ClientEnabled="false" Width="100%" ClientInstanceName="txtYongHuM2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td style="width: 10%;"><span style="font-size: 12px;">环内环外：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtHuanNeiHW" ClientEnabled="false" Width="100%" ClientInstanceName="txtHuanNeiHW"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">水价：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txShuiJia" ClientEnabled="false" Width="80%" ClientInstanceName="txShuiJia" DisplayFormatString="0.00"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">地址：</span></td>
                                                        <td colspan="3">
                                                            <dx:ASPxTextBox runat="server" ID="txtDiZhi" ClientEnabled="false" Width="100%" ClientInstanceName="txtDiZhi"></dx:ASPxTextBox>
                                                        </td>

                                                        <td><span style="font-size: 12px;">行政区：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtXingZhengQ" ClientEnabled="false" Width="100%" ClientInstanceName="txtXingZhengQ"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td><span id="jbh" runat="server" style="font-size: 12px;"></span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txJingBianH" ClientEnabled="false" Width="80%" ClientInstanceName="txJingBianH"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">取水地址：</span></td>
                                                        <td colspan="3">
                                                            <dx:ASPxTextBox runat="server" ID="txtQuShuiDZ2" ClientEnabled="false" Width="100%" ClientInstanceName="txtQuShuiDZ2"></dx:ASPxTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 10%;"><span style="font-size: 12px;">水表编号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtShuiBiaoBH2" ClientEnabled="false" Width="80%" ClientInstanceName="txtShuiBiaoBH2"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">水量类别：</span></td>
                                                        <td colspan="3">
                                                            <dx:ASPxTextBox runat="server" ID="txtShuiLiangLB" ClientEnabled="false" Width="100%" ClientInstanceName="txtShuiLiangLB"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">册号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtCeHao" ClientEnabled="false" Width="100%" ClientInstanceName="txtCeHao"></dx:ASPxTextBox>
                                                        </td>

                                                    </tr>
                                                    <tr>
                                                        <td><span style="font-size: 12px;">表标记：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtBiaoBiaoJ" ClientEnabled="false" Width="80%" ClientInstanceName="txtBiaoBiaoJ"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">表分类：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtBiaoFenL" ClientEnabled="false" Width="80%" ClientInstanceName="txtBiaoFenL"></dx:ASPxTextBox>
                                                        </td>
                                                        <td><span style="font-size: 12px;">总表号：</span></td>
                                                        <td>
                                                            <dx:ASPxTextBox runat="server" ID="txtZongBiaoH" ClientEnabled="false" Width="100%" ClientInstanceName="txtZongBiaoH"></dx:ASPxTextBox>
                                                        </td>

                                                    </tr>
                                                    <tr>
                                                        <td rowspan="2"><span style="font-size: 12px;">备注：</span></td>
                                                        <td rowspan="2" colspan="3">
                                                            <dx:ASPxMemo runat="server" ID="memoBeiZhu" ClientEnabled="false" Width="100%" ClientInstanceName="memoBeiZhu"></dx:ASPxMemo>
                                                        </td>
                                                    </tr>

                                                </table>
                                            </div>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="水表全年用水情况">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td style="width: 70px;"><span style="font-size: 12px;">水量年：</span></td>
                                                    <td style="width: 140px;">
                                                        <dx:ASPxComboBox runat="server" ID="cmbYtab2" Width="85%" ClientInstanceName="cmbYtab2">
                                                            <ClientSideEvents KeyUp="function(s,e){inputNum(s);}" />
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 7%;"><span style="font-size: 12px;">水量：</span></td>
                                                    <td style="width: 12%">
                                                        <dx:ASPxComboBox ID="cmbSL1tab2" ClientInstanceName="cmbSL1tab2" runat="server" Width="100%">
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 10%">
                                                        <dx:ASPxComboBox ID="cmbSL2tab2" ClientInstanceName="cmbSL2tab2" runat="server" Width="100%">
                                                            <Items>
                                                                <dx:ListEditItem Text="" Value="0" />
                                                                <dx:ListEditItem Text="=" Value="1" />
                                                                <dx:ListEditItem Text=">" Value="2" />
                                                                <dx:ListEditItem Text=">=" Value="3" />
                                                                <dx:ListEditItem Text="<" Value="4" />
                                                                <dx:ListEditItem Text="<=" Value="5" />
                                                                <dx:ListEditItem Text="<>" Value="6" />
                                                            </Items>
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 18%">
                                                        <dx:ASPxTextBox ID="txtSLtab2" ClientInstanceName="txtSLtab2" runat="server" Width="60%">
                                                            <ClientSideEvents KeyUp="function(s,e){inputFloat(s);}"/>
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                    <td>&nbsp;&nbsp;</td>
                                                    <td>
                                    <dx:ASPxLoadingPanel runat="server" ID="LoadPaneltab2" ClientInstanceName="LoadPaneltab2" Text="正在查询"></dx:ASPxLoadingPanel>
                                                        <dx:ASPxButton runat="server" ID="btnChaXuntab2" Text="查询" OnClick="btnChaXuntab2_Click" UseSubmitBehavior="false">
                                                            <ClientSideEvents Click="function(s,e){LoadPaneltab2.Show();}" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                    <td>
                                                        <dx:ASPxButton ID="btnExport3" runat="server" Text="导出EXCEL" UseSubmitBehavior="false">
                                                            <ClientSideEvents Click="function(s,e){btnExport.OnClick();}" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                    <td>&nbsp;&nbsp;</td>
                                                    <td style="width:180px;">
                                                        <dx:ASPxLabel ID="zjltab2" Text="共0条" runat="server" ForeColor="Blue"></dx:ASPxLabel>
                                                    </td>
                                                </tr>
                                            </table>
                                        </div>
                                        <div>
                                            <dx:ASPxGridView ID="gvGridTab2" ClientInstanceName="gvGridTab2" runat="server" AutoGenerateColumns="False" KeyFieldName="S_SHUIBIAOBH"
                                                ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" EnableCallBacks="true" SettingsBehavior-AllowSort="true">
                                                <Columns>
                                                   <%-- <dx:GridViewDataTextColumn FieldName="S_SHUIBIAOBH" Caption="水表号" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_JINGBH" Caption="井编号" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_XUKEZ" Caption="许可证" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="200">
                                                    </dx:GridViewDataTextColumn>
                                                     <dx:GridViewDataTextColumn FieldName="S_JINGLX" Caption="井类型" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_PTC" Caption="普通采" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_KQC" Caption="矿泉采" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_CGC" Caption="采灌采" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_CGG" Caption="采灌灌" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_ZG" Caption="专灌" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_KCL" Caption="开采量" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_HGL" Caption="回灌量" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_ZSL" Caption="总水量" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_SHENJINGSF" Caption="深井水费" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_SHUIJIA" Caption="水价" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_QUSHUIDZ" Caption="取水地址" Width="200">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_SHUILIANGLB" Caption="水量类别" Width="70">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_CEHAO" Caption="册号" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_QUSHUIYT" Caption="取水用途" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_HANGYELX" Caption="行业分类" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_XINGZQ" Caption="行政区" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_HNHW" Caption="环内环外" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_LIUYU" Caption="流域" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_SHUIZIYFQ" Caption="水资源分区" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_SHUILIFP" Caption="水利分片" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_ZHUGUANBM" Caption="部门名称" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_YUANJINGH" Caption="原井号" Width="">
                                                    </dx:GridViewDataTextColumn>--%>
                                                </Columns>
                                                <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto"  VerticalScrollableHeight="500"/>
                                                <SettingsPager Mode="EndlessPaging" PageSize="100" />
                                                <Settings ShowFooter="True" />
                                                <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                <ClientSideEvents FocusedRowChanged="function(s,e){rowClick2();}" />
                                                <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                                <%--<ClientSideEvents Init="function(s,e){AdjustSize(350,gvGridTab2);}" />--%>
                                            </dx:ASPxGridView>
                                        </div>
                                        <div>
                                            <dx:ASPxGridView ID="gvGrid2Tab2" ClientInstanceName="gvGrid2Tab2" runat="server" AutoGenerateColumns="False" KeyFieldName="I_M" 
                                                ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" EnableCallBacks="true" OnCustomCallback="gvGrid2Tab2_CustomCallback">
                                                <Columns>
                                                </Columns>
                                                <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto" VerticalScrollableHeight="200" />
                                                <SettingsPager Mode="EndlessPaging" PageSize="100" />
                                                <Settings ShowFooter="True" />
                                                <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                                <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                            </dx:ASPxGridView>
                                        </div>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="水表月用水情况">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td style="width: 70px;"><span style="font-size: 12px;">水量年：</span></td>
                                                    <td style="width: 140px;">
                                                        <dx:ASPxComboBox runat="server" ID="cmbYtab3" Width="85%" ClientInstanceName="cmbYtab3">
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 70px;"><span style="font-size: 12px;">水量月：</span></td>
                                                    <td style="width: 140px;">
                                                        <dx:ASPxComboBox runat="server" ID="cmbMtab3" Width="85%" ClientInstanceName="cmbMtab3">
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 60px;"><span style="font-size: 12px;">水量：</span></td>
                                                    <td style="width: 100px">
                                                        <dx:ASPxComboBox ID="cmbSL1tab3" ClientInstanceName="cmbSL1tab3" runat="server" Width="100%">
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 80px">
                                                        <dx:ASPxComboBox ID="cmbSL2tab3" ClientInstanceName="cmbSL2tab3" runat="server" Width="100%">
                                                            <Items>
                                                                <dx:ListEditItem Text="" Value="0" />
                                                                <dx:ListEditItem Text="=" Value="1" />
                                                                <dx:ListEditItem Text=">" Value="2" />
                                                                <dx:ListEditItem Text=">=" Value="3" />
                                                                <dx:ListEditItem Text="<" Value="4" />
                                                                <dx:ListEditItem Text="<=" Value="5" />
                                                                <dx:ListEditItem Text="<>" Value="6" />
                                                            </Items>
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 140px">
                                                        <dx:ASPxTextBox ID="txtSLtab3" ClientInstanceName="txtSLtab3" runat="server" Width="60%">
                                                            <ClientSideEvents KeyUp="function(s,e){inputFloat(s);}"/>
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                    <td>&nbsp;&nbsp;</td>
                                                    <td>
                                    <dx:ASPxLoadingPanel runat="server" ID="LoadPaneltab3" ClientInstanceName="LoadPaneltab3" Text="正在查询"></dx:ASPxLoadingPanel>
                                                        <dx:ASPxButton runat="server" ID="btnChaXuntab3" Text="查询" OnClick="btnChaXuntab3_Click" UseSubmitBehavior="false">
                                                            <ClientSideEvents Click="function(s,e){LoadPaneltab3.Show();}" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                    <td>
                                                        <dx:ASPxButton ID="btnExport4" runat="server" Text="导出EXCEL" UseSubmitBehavior="false">
                                                            <ClientSideEvents Click="function(s,e){btnExport.OnClick();}" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                    <td>&nbsp;&nbsp;</td>
                                                     <td style="width: 180px">
                                                        <dx:ASPxLabel ID="zjltab3" Text="共0条" runat="server" ForeColor="Blue"></dx:ASPxLabel>
                                                    </td> 
                                                </tr>
                                            </table>
                                        </div>
                                        <dx:ASPxGridView ID="gvGridTab3" ClientInstanceName="gvGridTab3" runat="server" AutoGenerateColumns="False" KeyFieldName="S_SHUIBIAOBH"
                                            ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" EnableCallBacks="true" SettingsBehavior-AllowSort="true">
                                            <Columns>
                                                   <%-- <dx:GridViewDataTextColumn FieldName="S_SHUIBIAOBH" Caption="水表号" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_JINGBH" Caption="井编号" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_XUKEZ" Caption="许可证" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="200">
                                                    </dx:GridViewDataTextColumn>
                                                     <dx:GridViewDataTextColumn FieldName="S_JINGLX" Caption="井类型" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_PTC" Caption="普通采" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_KQC" Caption="矿泉采" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_CGC" Caption="采灌采" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_CGG" Caption="采灌灌" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_ZG" Caption="专灌" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_KCL" Caption="开采量" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_HGL" Caption="回灌量" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="I_ZSL" Caption="总水量" Width="80">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_SHENJINGSF" Caption="深井水费" Width="80" PropertiesTextEdit-DisplayFormatString="0.00">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="N_SHUIJIA" Caption="水价" Width="60" PropertiesTextEdit-DisplayFormatString="0.00">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_QUSHUIDZ" Caption="取水地址" Width="200">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_SHUILIANGLB" Caption="水量类别" Width="70">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_CEHAO" Caption="册号" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_QUSHUIYT" Caption="取水用途" Width="60">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_HANGYELX" Caption="行业分类" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_XINGZQ" Caption="行政区" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_HNHW" Caption="环内环外" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_LIUYU" Caption="流域" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_SHUIZIYFQ" Caption="水资源分区" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_SHUILIFP" Caption="水利分片" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_ZHUGUANBM" Caption="部门名称" Width="">
                                                    </dx:GridViewDataTextColumn>
                                                    <dx:GridViewDataTextColumn FieldName="S_YUANJINGH" Caption="原井号" Width="">
                                                    </dx:GridViewDataTextColumn>--%>
                                                </Columns>
                                            <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto" VerticalScrollableHeight="620"/>
                                            <SettingsPager Mode="EndlessPaging" PageSize="100" />
                                            <Settings ShowFooter="True" />
                                            <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                            <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                        </dx:ASPxGridView>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                            <dx:TabPage Text="水表月用水汇总">
                                <ContentCollection>
                                    <dx:ContentControl>
                                        <div>
                                            <table>
                                                <tr>
                                                    <td style="width: 100px;"><span style="font-size: 12px;">汇总类别：</span></td>
                                                    <td style="width: 180px">
                                                        <dx:ASPxComboBox ID="cmbHZLBtab4" ClientInstanceName="cmbHZLBtab4" runat="server" Width="80%">
                                                            <Items>
                                                                <dx:ListEditItem Text="按行政区" Value="1" Selected="true" />
                                                                <dx:ListEditItem Text="按环内环外" Value="2" />
                                                                <dx:ListEditItem Text="按大陆三岛" Value="3" />
                                                                <dx:ListEditItem Text="按取水用途" Value="4" />
                                                                <dx:ListEditItem Text="按行业分类" Value="5" />
                                                            </Items>
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 70px;"><span style="font-size: 12px;">水量年：</span></td>
                                                    
                                                     <td style="width: 140px;">
                                                        <dx:ASPxComboBox runat="server" ID="cmbYtab4" Width="85%" ClientInstanceName="cmbYtab4">
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                        <td style="width: 70px;"><span style="font-size: 12px;">水量月：</span></td>
                                                    <td style="width: 140px;">
                                                        <dx:ASPxComboBox runat="server" ID="cmbMtab4" Width="85%" ClientInstanceName="cmbMtab4">
                                                        </dx:ASPxComboBox>
                                                    </td> 
                                                    <td style="width: 60px;"><span style="font-size: 12px;">水量：</span></td>
                                                    <td style="width: 100px">
                                                        <dx:ASPxComboBox ID="cmbSL1tab4" ClientInstanceName="cmbSL1tab4" runat="server" Width="100%">
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 80px">
                                                        <dx:ASPxComboBox ID="cmbSL2tab4" ClientInstanceName="cmbSL2tab4" runat="server" Width="100%">
                                                            <Items>
                                                                <dx:ListEditItem Text="" Value="0" />
                                                                <dx:ListEditItem Text="=" Value="1" />
                                                                <dx:ListEditItem Text=">" Value="2" />
                                                                <dx:ListEditItem Text=">=" Value="3" />
                                                                <dx:ListEditItem Text="<" Value="4" />
                                                                <dx:ListEditItem Text="<=" Value="5" />
                                                                <dx:ListEditItem Text="<>" Value="6" />
                                                            </Items>
                                                        </dx:ASPxComboBox>
                                                    </td>
                                                    <td style="width: 140px">
                                                        <dx:ASPxTextBox ID="txtSLtab4" ClientInstanceName="txtSLtab4" runat="server" Width="60%">
                                                            <ClientSideEvents KeyUp="function(s,e){inputFloat(s);}"/>
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                     <td>&nbsp;&nbsp;</td>
                                                    <td>
                                    <dx:ASPxLoadingPanel runat="server" ID="LoadPaneltab4" ClientInstanceName="LoadPaneltab4" Text="正在查询" UseSubmitBehavior="false"></dx:ASPxLoadingPanel>
                                                        <dx:ASPxButton runat="server" ID="btnChaXuntab4" Text="查询" OnClick="btnChaXuntab4_Click">
                                                            <ClientSideEvents Click="function(s,e){LoadPaneltab4.Show();}" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                    <td>
                                                        <dx:ASPxButton ID="btnExport5" runat="server" Text="导出EXCEL" UseSubmitBehavior="false">
                                                            <ClientSideEvents Click="function(s,e){btnExport.OnClick();}" />
                                                        </dx:ASPxButton>
                                                    </td>
                                                    <td>&nbsp;&nbsp;</td>
                                                     <td style="width: 180px">
                                                        <dx:ASPxLabel ID="zjltab4" Text="共0条" runat="server" ForeColor="Blue"></dx:ASPxLabel>
                                                    </td>  
                                                </tr>
                                            </table>
                                        </div>
                                        <dx:ASPxGridView ID="gvGridTab4" ClientInstanceName="gvGridTab4" runat="server" AutoGenerateColumns="False" KeyFieldName="ID"
                                            ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" EnableCallBacks="true" SettingsBehavior-AllowSort="true">
                                           <%-- <Columns>
                                                <dx:GridViewDataTextColumn FieldName="S_HUIZONGMC" Caption="名称" Width="120">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_BIAOSHU" Caption="表数" Width="80" >
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_PTC" Caption="普通采" Width="80">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_KQC" Caption="矿泉采" Width="80">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_CGC" Caption="采灌采" Width="80">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_CGG" Caption="采灌灌" Width="80">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_ZG" Caption="专灌" Width="80">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_KCL" Caption="开采量" Width="80">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_HGL" Caption="回灌量" Width="80">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="I_ZSL" Caption="总水量" Width="80">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_SHENJINGSF" Caption="深井水费" Width="80" PropertiesTextEdit-DisplayFormatString="0.00">
                                                </dx:GridViewDataTextColumn>
                                                <dx:GridViewDataTextColumn FieldName="N_SHUIZIYSF" Caption="水资源水费" Width="80" PropertiesTextEdit-DisplayFormatString="0.00">
                                                </dx:GridViewDataTextColumn>
                                            </Columns>--%>
                                            <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto" VerticalScrollableHeight="620"/>
                                            <SettingsPager Mode="EndlessPaging" PageSize="100" />
                                            <Settings ShowFooter="True" />
                                            <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                                            <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                                        </dx:ASPxGridView>
                                    </dx:ContentControl>
                                </ContentCollection>
                            </dx:TabPage>
                        </TabPages>
                    </dx:ASPxPageControl>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
         
         <div style="display: none;">
            <dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server"></dx:ASPxGridViewExporter>
            <dx:ASPxButton ID="btnExport" runat="server" ClientInstanceName="btnExport" Text="导出EXCEL" OnClick="btnExport_Click" UseSubmitBehavior="false">
            </dx:ASPxButton>
        </div>  
    </form>
</body>
</html>